# 配置项目需要的环境
from flask_sqlalchemy import SQLAlchemy

db = SQLAlchemy()

class config():
    TESTING = True
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = f"mysql+pymysql://testuser:87654321@175.178.152.67:3306/psdn"
    SQLALCHEMY_ECHO = True
    SECRET_KEY = "skljake5ui3h4h3kljndf8"
    # 定时任务
    SCHEDULER_API_ENABLED = True
    JSON_AS_ASCII = False